package com.ly.common.base.service;

import com.ly.common.base.page.PageList;
import com.ly.common.base.query.BaseQuery;

import java.util.List;

/**
 * 业务接口基类
 * @Auther: lzw
 * @Date: 2018/6/4
 */
public interface IBaseService<T> {

    T findOne(Integer id);
    void delete(Integer id);
    long count();
    public PageList<T> findPage(BaseQuery baseQuery);
    List<T> findAll();
}
